import request from '@/utils/request'
export function postAction(url, data, time = 50000) {
  return request({
    url: url,
    method: 'post',
    data: data,
    timeout: time
  })
}
export function httpAction(url, data, method) {
  return request({
    url: url,
    method: method,
    data: data
  })
}
export function getAction(url, data) {
  return request({
    url: url,
    method: 'get',
    params: data
  })
}

